<div id="table">

</div>
<script src="/static/admin/layui/layui.js"></script>
<script>
    layui.config({
        base: '/static/admin/' //静态资源所在路径
    }).extend({
        index: 'lib/index', //主入口模块
    }).use(['index', 'form'], function () {
        var $ = layui.$, form = layui.form;
        form.render();
        $.ajax({
            url:"{:url('flow/wflogs')}",
            type:'post',
            data:{'id':'{$info.wf_fid}','wf_type':'{$info.wf_type}'},
            success:function (res) {
                $('#table').append(res);
            }
        });
    });
</script>